-- MySQL dump 10.13  Distrib 5.6.17, for Win32 (x86)
--
-- Host: localhost    Database: test
-- ------------------------------------------------------
-- Server version	5.6.23-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `event_log`
--

DROP TABLE IF EXISTS `event_log`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `event_log` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Instance_ID` varchar(20) DEFAULT NULL,
  `Event_ID` varchar(45) DEFAULT NULL,
  `Action_Type` varchar(45) DEFAULT NULL,
  `Action_Object` varchar(45) DEFAULT NULL,
  `Action_Time` datetime DEFAULT NULL,
  `Operator` varchar(45) DEFAULT NULL,
  `Remark` varchar(4000) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `event_log`
--

LOCK TABLES `event_log` WRITE;
/*!40000 ALTER TABLE `event_log` DISABLE KEYS */;
INSERT INTO `event_log` VALUES (1,'SP_A_1','123','Create','Producer','2016-08-05 15:03:47','xiaobo','Name:123,Password:213,CreateTime:[2016-08-05 15:03:46]'),(2,'SP_A_1','234','Create','Producer','2016-08-05 16:04:46','xiaobo','{\"Name\":\"234\",\"Password\":\"123\",\"Email\":null,\"Phone\":null,\"CreateTime\":\"2016-08-05T16:04:46.2564324+08:00\"}'),(3,'SP_A_1','精选缤纷礼遇 月月臻享特惠','Create','Shop','2016-08-05 17:21:50','xiaobo','Name:精选缤纷礼遇 月月臻享特惠,Description:豪华晚餐，轻松SPA,Price:1288,Reduce:立省￥20,Introduce:酒店精选,Comment:聚优惠,ImgSrc:[http://m.tuniucdn.com/fb2/t1/G1/M00/F8/CA/Cii9EVbC37eIMSh8AAGAqtLsmcMAAB4hwNh1aQAAYDC726_w450_h300_c1_t0_w640_h480_c1_t0.jpg]'),(4,'SP_A_1','全新酒店，全新体验','Create','Shop','2016-08-05 17:21:50','xiaobo','Name:全新酒店，全新体验,Description:全新生活，全新享受,Price:1288,Reduce:立省￥300,Introduce:酒店精选,Comment:聚优惠,ImgSrc:[http://m.tuniucdn.com/fb2/t1/G1/M00/CD/7D/Cii9EFanbIuIIE5TADhZcPO0rWEAABo_QFhAV0AOFmI571_w640_h480_c1_t0.jpg]'),(5,'SP_A_1','出发，赏春光','Create','Shop','2016-08-05 17:21:50','xiaobo','Name:出发，赏春光,Description:享受美丽时光,Price:588,Reduce:立省￥120,Introduce:酒店精选,Comment:聚优惠,ImgSrc:[http://m.tuniucdn.com/fb2/t1/G1/M00/7E/B4/Cii9EFZ7kkSIXCbyAAYpNULYv7YAABI6APCLpsABilN497_w450_h300_c1_t0_w640_h480_c1_t0.jpg]'),(6,'SP_A_1','优惠常伴，无微不“智”','Create','Shop','2016-08-05 17:21:50','xiaobo','Name:优惠常伴，无微不“智”,Description:引领智能生活,Price:198,Reduce:立省￥30,Introduce:酒店精选,Comment:聚优惠,ImgSrc:[http://m.tuniucdn.com/fb2/t1/G1/M00/75/F3/Cii9EFcSD8SIHPJjABn7cjEEnW0AADSbgLjJNcAGfuK111_w640_h480_c1_t0.jpg]');
/*!40000 ALTER TABLE `event_log` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `shop`
--

DROP TABLE IF EXISTS `shop`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `shop` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` varchar(100) DEFAULT NULL,
  `Description` varchar(45) DEFAULT NULL,
  `Price` varchar(45) DEFAULT NULL,
  `Reduce` varchar(45) DEFAULT NULL,
  `Introduce` varchar(45) DEFAULT NULL,
  `Comment` varchar(45) DEFAULT NULL,
  `ImgSrc` varchar(300) DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `shop`
--

LOCK TABLES `shop` WRITE;
/*!40000 ALTER TABLE `shop` DISABLE KEYS */;
INSERT INTO `shop` VALUES (1,'精选缤纷礼遇 月月臻享特惠','豪华晚餐，轻松SPA','1288','立省￥20','酒店精选','聚优惠','http://m.tuniucdn.com/fb2/t1/G1/M00/F8/CA/Cii9EVbC37eIMSh8AAGAqtLsmcMAAB4hwNh1aQAAYDC726_w450_h300_c1_t0_w640_h480_c1_t0.jpg'),(2,'全新酒店，全新体验','全新生活，全新享受','1288','立省￥300','酒店精选','聚优惠','http://m.tuniucdn.com/fb2/t1/G1/M00/CD/7D/Cii9EFanbIuIIE5TADhZcPO0rWEAABo_QFhAV0AOFmI571_w640_h480_c1_t0.jpg'),(3,'出发，赏春光','享受美丽时光','588','立省￥120','酒店精选','聚优惠','http://m.tuniucdn.com/fb2/t1/G1/M00/7E/B4/Cii9EFZ7kkSIXCbyAAYpNULYv7YAABI6APCLpsABilN497_w450_h300_c1_t0_w640_h480_c1_t0.jpg'),(4,'优惠常伴，无微不“智”','引领智能生活','198','立省￥30','酒店精选','聚优惠','http://m.tuniucdn.com/fb2/t1/G1/M00/75/F3/Cii9EFcSD8SIHPJjABn7cjEEnW0AADSbgLjJNcAGfuK111_w640_h480_c1_t0.jpg');
/*!40000 ALTER TABLE `shop` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user`
--

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
  `username` varchar(16) NOT NULL,
  `password` varchar(32) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `create_time` datetime DEFAULT CURRENT_TIMESTAMP,
  `Phone` varchar(45) DEFAULT NULL,
  PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user`
--

LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES ('xiaobo','123','xiao@1.com','2016-01-01 00:00:00','123');
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2016-08-05 18:45:56
